home *** CD-ROM | disk | FTP | other *** search
/ Educational Software Cooperative 4 / Educational Software Cooperative 4.iso / midilang / echom.mpl < prev    next >
Text File  |  1996-02-06  |  1KB  |  74 lines

  1. -5932
  2. #
  3. #
  4. #
  5. #    Echom.mpl
  6. #
  7. #    Example of Echo for Midi Keyboard
  8. #
  9. #          Author          ID                   Date
  10. #       ------------   -----------          ---------
  11. #     Serge Sibony   100417,2633          09/06/95
  12. #      
  13. #
  14. # This file is a mpl effect definition used by MidiLang
  15. #    MidiLang can be found at the MidiForum, in the
  16. #         Windows sound media library.
  17. #
  18. # This effect adds echo of all notes played
  19. #  The echo parameters ( length, volume...)
  20. #  can be changed directly from your Midi Keyb.
  21. #
  22. #
  23. #
  24.  
  25.  
  26. Label faster
  27. v*= 1 1.41214
  28. end
  29.  
  30. Label slower
  31. v/= 1 1.41214
  32. end
  33.  
  34. Label softer
  35. v*= 3 1.141214
  36. end
  37.  
  38. Label harder
  39. v/= 3 1.141214
  40. end
  41.  
  42. Label chan-
  43. v-= 2 1
  44. end
  45.  
  46. Label chan+
  47. v+= 2 1
  48. end
  49.  
  50. Label main
  51. v=v 4 1
  52. V*= 4 480
  53. time+=V 4
  54. vel/=V 3
  55. chan=v 2
  56. outmidi
  57. end
  58.  
  59. descript simple echo
  60. descript with any delay, and out channel
  61. descript all parameters chosen and modified
  62. descript directly from the midi keyboard
  63.  
  64. keydef C C# faster faster delay 1 1
  65. keydef C B slower slower
  66.  
  67. keydef D D# softer softer volume_divide 3 1.5
  68. keydef D C# harder harder
  69.  
  70. keydef F E chan- chan- out_channel 2 4
  71. keydef F F# chan+ chan+
  72.